Skip to content

Conversation

@jnsdls
Copy link
Member

@jnsdls jnsdls commented Mar 14, 2025


PR-Codex overview

This PR introduces billing features to the dashboard, integrating Stripe for invoice management. It adds necessary configurations, modifies team settings, and enhances UI components for displaying billing information.

Detailed summary

  • Added stripeCustomerId to the team object.
  • Updated package.json to include stripe dependency.
  • Introduced STRIPE_SECRET_KEY in .env.example.
  • Enhanced billing settings UI with links to invoices.
  • Implemented getTeamInvoices function for fetching invoices.
  • Created BillingHistory component for displaying invoice data.
  • Updated navigation links in the sidebar for billing and invoices.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Mar 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 14, 2025 10:50pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Mar 14, 2025 10:50pm
login ⬜️ Skipped (Inspect) Mar 14, 2025 10:50pm
thirdweb_playground ⬜️ Skipped (Inspect) Mar 14, 2025 10:50pm
wallet-ui ⬜️ Skipped (Inspect) Mar 14, 2025 10:50pm

@vercel vercel bot temporarily deployed to Preview – docs-v2 March 14, 2025 22:33 Inactive
@vercel vercel bot temporarily deployed to Preview – login March 14, 2025 22:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui March 14, 2025 22:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 14, 2025 22:33 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Mar 14, 2025

⚠️ No Changeset found

Latest commit: 8e8eca5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Mar 14, 2025
Copy link
Member Author

jnsdls commented Mar 14, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jnsdls jnsdls force-pushed the add_Stripe_integration_for_team_invoices branch from c80e918 to cc52b90 Compare March 14, 2025 22:34
@vercel vercel bot temporarily deployed to Preview – login March 14, 2025 22:34 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui March 14, 2025 22:34 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 14, 2025 22:34 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 March 14, 2025 22:34 Inactive
@jnsdls jnsdls marked this pull request as ready for review March 14, 2025 22:34
@jnsdls jnsdls requested review from a team as code owners March 14, 2025 22:34
@socket-security
Copy link

socket-security bot commented Mar 14, 2025

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] network, shell +19 6.01 MB stripe-bindings

View full report↗︎

@jnsdls jnsdls force-pushed the add_Stripe_integration_for_team_invoices branch from cc52b90 to fcdd715 Compare March 14, 2025 22:36
@vercel vercel bot temporarily deployed to Preview – wallet-ui March 14, 2025 22:36 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 14, 2025 22:36 Inactive
@vercel vercel bot temporarily deployed to Preview – login March 14, 2025 22:36 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 March 14, 2025 22:36 Inactive
@codecov
Copy link

codecov bot commented Mar 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.80%. Comparing base (f54a0cb) to head (8e8eca5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6475   +/-   ##
=======================================
  Coverage   54.80%   54.80%           
=======================================
  Files         875      875           
  Lines       54851    54851           
  Branches     3738     3738           
=======================================
  Hits        30062    30062           
  Misses      24695    24695           
  Partials       94       94           
Flag Coverage Δ
packages 54.80% <ø> (ø)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 14, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.94 KB (0%) 939 ms (0%) 180 ms (+121.65% 🔺) 1.2 s
thirdweb (cjs) 127.18 KB (0%) 2.6 s (0%) 275 ms (+16.83% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 78 ms (+904.04% 🔺) 190 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 46 ms (+1889.92% 🔺) 56 ms
thirdweb/react (minimal + tree-shaking) 19.34 KB (0%) 387 ms (0%) 76 ms (+266.75% 🔺) 463 ms

@jnsdls jnsdls force-pushed the add_Stripe_integration_for_team_invoices branch from fcdd715 to 8e8eca5 Compare March 14, 2025 22:43
@vercel vercel bot temporarily deployed to Preview – docs-v2 March 14, 2025 22:43 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 14, 2025 22:43 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui March 14, 2025 22:43 Inactive
@vercel vercel bot temporarily deployed to Preview – login March 14, 2025 22:43 Inactive
@jnsdls jnsdls merged commit ab0d330 into main Mar 14, 2025
33 checks passed
@jnsdls jnsdls deleted the add_Stripe_integration_for_team_invoices branch March 14, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants